package com.csvc.repository.cmdb.domain;

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.validation.constraints.NotBlank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author vincent zou
 * @since 2021-01-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cm_syn_order")
public class CmSynOrder implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@NotBlank(message = "业务NO为必填项")
	private String busiNo;
	@NotBlank(message = "源服务的数据库名为必填项")
	private String srcInsName;
	private String destInsName;
	private String srcSchema;
	private String destSchema;
	private String srcTables;
	private String operator;
	private LocalDateTime createdTime;
	private LocalDateTime updatedTime;
	private String isSensitive;
	private Integer status;
	private String type;
	private String notiList;
	private String comments;

}

